package com.utils;

import com.baomidou.mybatisplus.core.toolkit.StringUtils;

import java.time.Instant;

public class HalloWorld {
    public static void main(String[] args) {

        long timeStamp=System.currentTimeMillis();
        //  String nonceStr = RandomStringGenerator.genRandomAlphanumeric(20);
        long timestamp = Instant.now().getEpochSecond();

        long timeStamp2=System.currentTimeMillis();
     //   test2();
        System.out.println(timeStamp);
        System.out.println(timestamp);
        System.out.println(timeStamp2);
    }
    public static void   test2(){
        Long numberId=null;
      boolean bl=  StringUtils.checkValNotNull(numberId);
        System.out.println(bl);
    }
public static void   test1(){
    for (int i = 0; i <5 ; i++) {
        System.out.println( "       "+i + "   ");
        for (int j = i+1; j <= 5; j++) {
            System.out.print(j + "    ");
        }
        System.out.println();
    }
}
}
